package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)" json:"username"`
	Password string `gorm:"type:varchar(200)" json:"password"`
}

type Post struct {
	gorm.Model
	Title    string `gorm:"type:varchar(30)" json:"title"`
	NickName string `gorm:"type:varchar(30)" json:"nickName"`
	Tel      string `gorm:"type:varchar(11)" json:"tel"`
}
